/**
 * @file hr搜索布置
 * @author 叶永鸿
 * @description 在全搜索功能的接口
 * @date 2021-7-11
 * @LastEditors 叶永鸿
 * @LastEditTime 2021-7-28
 */

import { ref } from "vue";

interface Searcher{
  searchInput:string;
}
export const searcher = ref<Searcher>({
  searchInput:"",
})

 interface SearchRule{
  searchInput:{
     required:boolean;
     message:string;
     trigger:string
   }[];
 }

 export const searchRules = ref<SearchRule>({
  searchInput:[
  {
    required:true,
    message:"请输入搜索的电话或名字",
    trigger:"blur",
   }
  ]
 })